<template>
	<view class="content">
		<web-view v-if="pdfUrl" :src="pdfUrl" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pdfUrl: "",
			};
		},
		onLoad(option = {}) {
			this.pdfUrl = option.url ? JSON.parse(decodeURIComponent(option.url)) : ""
		},
		methods: {


		}
	};
</script>

<style lang="less">
</style>